package com.chinamobile.maps.dao;

import java.util.List;

import com.chinamobile.maps.orm.Grid;
import com.chinamobile.maps.orm.Regions;

/**
 * @ClassName: IGridDAO
 * @Description: TODO
 * @author: frankwong
 * @date: 2012-10-28 下午9:46:49
 * 
 */
public interface IGridDAO {

	public void addGrid(Grid grid);

	public void delGrid(Grid grid);

	public void delGrid(int id);

	public void updateGrid(Grid grid);

	public List<Grid> getGrid();

	public Grid getGridById(int id);

	public List<Grid> getObjects(String hsql);
	
	public Grid getGridByname(String name);

}
